<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>订单列表·</title>
<link href="../css/bootstrap.min.css" rel="stylesheet">
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/signin.css" rel="stylesheet">
</head>
<body>
	<h2 class="sub-header">订单列表</h2>
	<div class="table-responsive">
		<table class="table table-striped">
			<thead>
				<tr>
					<th>订单编号</th>
					<th>订单内容</th>
					<th>下单时间</th>
					<th>收件地址</th>
					<th>收件人</th>
					<th>联系方式</th>
					<th>订单价格</th>
					<th>订单状态</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${requestScope.orderDetail}" var="detail">
					<tr>
						<td style="text-align:center; line-height:50px;"><span
							style="float:left">${detail.ordersId}</span></td>
						<td style="text-align:center; line-height:50px;"><span
							style="float:left">${detail.orderName}</span></td>
						<td style="text-align:center; line-height:50px;"><span
							style="float:left">${detail.orderTime}</span></td>
						<td style="text-align:center; line-height:50px;"><span
							style="float:left">${detail.address}</span></td>
						<td style="text-align:center; line-height:50px;"><span
							style="float:left">${detail.realName}</span></td>
						<td style="text-align:center; line-height:50px;"><span
							style="float:left">${detail.phone}</span></td>
						<td style="text-align:center; line-height:50px;"><span
							style="float:left">${detail.detail2}</span></td>

						<td style="text-align:center; line-height:50px;"><span
							style="float:left">${detail.detail1} <c:if
									test="${detail.detail1 eq '未通过审核' }">
									<a href="../shopper_changeState?ordersId=${detail.ordersId}">
										点击通过审核</a>
								</c:if>
						</span></td>
					</tr>

				</c:forEach>
			</tbody>
		</table>
	</div>
	</div>
	</div>
	</div>
	<script src="../js/jquery-3.0.0.min.js"></script>
	<script src="../js/bootstrap.min.js"></script>
</body>
</html>
</em>